<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!doctype html>
<html lang="en">
<head>
    <title>info</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
    <script>
        $("#frame1",window.parent.document).attr("height","100px");
        $(".modal-dialog",window.parent.document).css("width","300px");
    </script>
</head>
<body>
    <c:choose>
        <c:when test="${flag==1}">
            <div class="alert alert-success">
                <strong>${info}!</strong>
            </div>
        </c:when>
        <c:otherwise>
            <div class="alert alert-danger">
                <strong>${info}!</strong>
            </div>
        </c:otherwise>
    </c:choose>
</body>
</html>